package com.ynsj.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("会员的登录参数对象")
public class LoginForm extends GeetestForm {

    @ApiModelProperty(value = "会员的手机国家代码")
    private String countryCode;

    @ApiModelProperty(value = "会员的用户名")
    @NotBlank
    private String username;

    @ApiModelProperty(value = "会员的密码")
    @NotBlank
    private String password;

    @ApiModelProperty(value = "会员验证uuid凭证")
    private String uuid;

    /**
     * 极验验证参数
     */
    private String geetest_seccode;
    private String geetest_validate;
    private String geetest_challenge;
}
